package org.example.core.utils;

import lombok.Data;

@Data
public class PageLimit {

    private Integer page;

    private Integer pageSize;

    public boolean needLimit(){
        return this.page != null && this.pageSize != null;
    }
}
